import math
class Solution(object):
    def findGCD(self, nums):
        return math.gcd(max(nums), min(nums))